package org.suk.dp.abstractFactory.factory;

import org.suk.dp.abstractFactory.dao.DepartmentDao;
import org.suk.dp.abstractFactory.dao.UserDao;
import org.suk.dp.abstractFactory.dao.impl.access.AccessDepartmentDaoImpl;
import org.suk.dp.abstractFactory.dao.impl.access.AccessUserDaoImpl;
import org.suk.dp.abstractFactory.dao.impl.sqlServer.SqlServerDepartmentDaoImpl;

/**
 * Description: <br/>
 * @version V1.0  2017/6/21 9:13  by 石冬冬(dongdong.shi@ucarinc.com) - Heil Hitler
 */
public class AccessFactory implements Factory {
    @Override
    public DepartmentDao createDepartmentDao() {
        return new AccessDepartmentDaoImpl();
    }

    @Override
    public UserDao createUserDao() {
        return new AccessUserDaoImpl();
    }
}
